<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="/Public/css/pintuer.css">
<link rel="stylesheet" href="/Public/css/admin.css">
<script src="/Public/js/jquery.js"></script>
<script src="/Public/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head"><strong class="icon-reorder">会员列表</strong></div>
  <div class="padding border-bottom">
  </div>
  <table class="table table-hover text-center">
    <tr>
        <th width="10%" style="text-align:left; padding-left:20px;">会员电话</th>
        <th width="10%">会员id</th>
		<th width="10%">会员姓名</th>
        <th width="10%">会员消费积分</th>
        <th width="10%">会员返还积分</th>
        <th width="10%">会员可提现积分</th>
        <th width="310">操作</th>
      </tr>
      <?php if(is_array($res)): $k = 0; $__LIST__ = $res;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?><tr>
            <td style="text-align:left; padding-left:20px;">
                <?php echo ($vo["phone"]); ?>
            </td>
			<td><?php echo ($vo["user_id"]); ?>
            </td>
			<td style="text-align:left; padding-left:20px;">
                <?php echo ($vo["name"]); ?>
            </td>
            <td><?php echo ($vo["pay_points"]); ?>
            </td>
            <td width="10%">
                <?php echo ($vo["return_points"]); ?>
            </td>
            <td><?php echo ($vo["use_points"]); ?></td>
            <td>
              <div class="button-group"> 
                  <a class="button border-main" href="/index.php/Home/Index/uMore/id/<?php echo ($vo["user_id"]); ?>"><span class="icon-edit"></span>详情</a> 
                  <a class="button border-main" href="/index.php/Home/Index/uSet/id/<?php echo ($vo["user_id"]); ?>"><span class="icon-edit"></span>修改</a>   
                  <a class="button border-main" href="/index.php/Home/Index/changeinfo/id/<?php echo ($vo["user_id"]); ?>"><span class="icon-edit"></span>修改绑定信息</a>   
                  <a class="button border-red" href="/index.php/Home/Index/uDel/id/<?php echo ($vo["user_id"]); ?>"><span class="icon-edit"></span> 删除</a> 
                  <a class="button border-red" href="/index.php/Home/Index/repassword/id/<?php echo ($vo["user_id"]); ?>"><span class="icon-edit"></span> 重置密码</a> 
              </div>
              </td>
          </tr><?php endforeach; endif; else: echo "" ;endif; ?>
         
      <tr>
        <td colspan="8"><div class="pagelist"> <?php echo ($page); ?> </div></td>
      </tr>
    
  </table>
</div>


</body>
</html>